﻿using Abp.AutoMapper;
using Mt.Site.Core.WorkFlows.Design.Entities;
using System;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.WorkFlows.Dto
{
    [AutoMap(typeof(WorkFlowPaperListCtrl))]
    public class CreateOrUpdateListCtrlDto
    {
        public Guid? Id { get; set; }

        [Required]
        [StringLength(WorkFlowPaperListCtrl.MaxNameLength)]
        public string Name { get; set; }


        [StringLength(WorkFlowPaperListCtrl.MaxDescriptionLength)]
        public string Description { get; set; }


        [StringLength(WorkFlowPaperListCtrl.MaxExtensionDataLength)]
        public string ExtensionData { get; set; }

        public bool IsActive { get; set; }
    }
}
